//
//  SCStoreSectionView.m
//  shangcheng
//
//  Created by 张艳江 on 2019/6/10.
//  Copyright © 2019 张艳江. All rights reserved.
//

#import "SCCartSectionView.h"

@implementation SCCartSectionView

+ (instancetype)addCartSectionView{
    return [[NSBundle mainBundle]loadNibNamed:@"SCCartSectionView" owner:nil options:nil].lastObject;
}
- (void)setSectionModel:(SCModel *)sectionModel{
    _sectionModel = sectionModel;
    self.storeLab.text = sectionModel.store_name;
    if (sectionModel.headClickState == 1) {
        [self.headSelectBtn setImage:[UIImage imageNamed:@"radio_y_s"] forState:0];
    }else{
        [self.headSelectBtn setImage:[UIImage imageNamed:@"radio_y_n"] forState:0];
    }
}

@end
